<template>
  <div> 
    <FitDetailListView :listview="FitDetailInfoData"/>
  </div>
</template>

<script>
import FitDetailListView from "./Components/FitDetailListView";
export default {
  name: "FitDetail",
  components: {
    FitDetailListView
  },
  data() {
    return {
      FitDetailInfoData: []
    };
  },
  props: ["fit_id"],
  mounted() {
    this.$api.FitDetailInfo.FitDetailList({fit_id:this.fit_id})
      .then(res => {
          
        this.FitDetailInfoData = res.data;
        console.log(this.FitDetailInfoData);
      })
      .catch(error => {
        console.log(error);
      });
  }
};
</script>
<style scoped lang="less">


</style>